package cn.itcast.demo2;

public class Test {
    public static void main(String[] args){

        Animal an = new Cat();
        System.out.println("-----------------");

        an.name = "汤姆";
        System.out.println(an.name);

//        an.AGE = 50;
    }
}
